From 1664c1091a0a9d0446811fab281e5674a58adf96 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 11 Apr 2005 20:30:57 +0000 Subject: [PATCH] Use GPSBabel's abstraction for word size since the one from jeeps is dumb. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1134 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/jeeps/gpsport.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/gpsbabel/jeeps/gpsport.h b/gpsbabel/jeeps/gpsport.h index 040efd2e7..c640c42a7 100644 --- a/gpsbabel/jeeps/gpsport.h +++ b/gpsbabel/jeeps/gpsport.h @@ -2,15 +2,14 @@ * For portability any '32' type must be 32 bits * and '16' type must be 16 bits */ -typedef unsigned char UC; -typedef short int16; -typedef unsigned short uint16; -typedef uint16 US; -#if defined(__alpha) -typedef int int32; -typedef unsigned int uint32; -#else -typedef long int32; -typedef unsigned long uint32; -#endif +/* Since GPSBabel already has an integer size abstraction layer and + * defs.h includes gbtypes.h before this file, just use that. + */ + +typedef unsigned char UC; +typedef uint16 US; +typedef gbuint16 uint16; +typedef gbint16 int16; +typedef gbuint32 uint32; +typedef gbint32 int32; -- 2.30.2